//tabBar路由
import layout from '@/layouts/index'
const constantRouterMap = {
    path: '/',
    component: layout,
    redirect: '/home',
    meta: {
      title: '首页',
      keepAlive: false
    },
    children: [
      {
        path: '/home',
        name: 'Home',
        component: () => import('@/views/tabBar/home'),
        meta: { 
          title: '首页', 
          keepAlive: false 
        }
      },
      {
        path: '/about',
        name: 'About',
        component: () => import('@/views/tabBar/userInfo'),
        meta: { 
          title: '我的', 
          keepAlive: false 
        }
      }
    ]
  }
  export const hiddeList = ['/home','/about']
  export default constantRouterMap

